<template>
  <el-row :gutter="8">
    <el-col :span="10">
      <app-quick-table @rowClick="handleClick" />
    </el-col>
    <el-col :span="14">
      <app-auth-table ref="authTable" :click-quick="clickQuick" />
    </el-col>
  </el-row>
</template>

<script>
import AppQuickTable from "@/views/system/app/quick/AppQuickTable";
import AppAuthTable from "@/views/system/app/quick/AppAuthTable";
export default {
  name: "AppQuick",
  components: {AppAuthTable, AppQuickTable},
  data() {
    return {
      clickQuick: { quickId: '0' }
    }
  },
  methods: {
    handleClick(row) {
      this.$Util.cleanObj(this, this.clickQuick)
      this.$Util.copyAttr(row, this.clickQuick,[],this)
      this.$refs.authTable.refreshTable()
    }
  }
}
</script>

<style scoped>

</style>